package com.cl.short_video_java.vo.setting;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author 付
 * @Date 2024-11-15 15:00
 * @Version 1.0
 * @description 支付宝支付
 * @since 1.0
 */

@Data
public class Alipay {
	private Integer id;
	private String protocol = "https";
	@NotEmpty(message = "支付宝网关不能为空")
	private String gatewayHost;
	private String isAlipay = "1";
	private String charset = "utf-8";
	@NotEmpty(message = "回调地址不能为空")
	private String notifyUrl;
	@NotEmpty(message = "公钥不能为空")
	private String appPublicKey;
	@NotEmpty(message = "私钥不能为空")
	private String appPrivateKey;
	@NotEmpty(message = "appid不能为空")
	private String appId;
	private String signType = "RSA2";
}
